﻿using masterview.Code.interfaces;

namespace masterview.Code.models
{
    public class CmsDocsServiceInstanceModel : SimpleModel, IActive, IDescription
    {
        public CmsDocsServiceInstanceModel(long id, long installId, bool isActive, string name, string description, string ownerName, string ownerEmail, string url)
            : base(id, name)
        {
            InstallId = installId;
            OwnerName = ownerName;
            OwnerEmail = ownerEmail;
            Url = url;
            IsActive = isActive;
            Description = description;
        }

        public string Url { get; set; }

        public string OwnerEmail { get; set; }

        public string OwnerName { get; set; }

        public long InstallId { get; set; }

        public bool IsActive { get; set; }

        public string Description { get; set; }
    }
}